import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: () => import('@/views/index')
    },
    {
      path: '/squeeze',
      name: 'squeeze',
      component: () => import('@/views/squeeze')
    },
    {
      path: '/detail',
      name: 'detail',
      component: () => import('@/views/detail')
    },
    {
      path: '/my',
      name: 'my',
      component: () => import('@/views/my')
    },
    {
      path: '/payBuy',
      name: 'payBuy',
      component: () => import('@/views/payBuy')
    },

  ]
})
